package com.ruoyi.syf.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.syf.domain.HolidayInfo;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("日历")
public class HolidayInfoVo extends HolidayInfo {
    private static final long serialVersionUID = 1L;

    /** 展示内容 */
    private String showName;

    private String typeStr;

    /** 开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startDate;

    /** 结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endDate;

    /** 是否置灰 0不置灰 1置灰 */
    private Integer isGray;

    /** 是否显示 */
    private Boolean isShow;

}
